const list = () => import('@/views/talkTemplateBase/talkTemplate/list.vue')
const test1 = () => import('@/views/talkTemplateBase/test1/list.vue')
const paramList = () => import('@/views/talkTemplateBase/param/list.vue')
const flowDiagramList = () =>
  import('@/views/talkTemplateBase/flowDiagram/list.vue')
const Layout = () => import('@/layout/index.vue')

export default [
  {
    path: '/talkTemplateBase',
    component: Layout,
    name: '话术管理',
    redirect: '/talkTemplateBase/talkTemplate/list',
    meta: {
      title: '话术管理',
    },
    icon: 'icon-overview',
    children: [
      {
        path: 'talkTemplate/list',
        name: '话术模板列表',
        component: list,
        meta: {
          title: '话术模板列表',
        },
      },
      // {
      //   path: 'test1/list',
      //   name: '测试页面',
      //   component: test1,
      //   meta: { title: '测试页面' },
      // },
      {
        path: 'param/list',
        name: '参数管理',
        component: paramList,
        meta: { title: '参数管理' },
      },
      {
        path: 'flowDiagram/list',
        name: '流程绘制',
        component: flowDiagramList,
        meta: { title: '流程绘制' },
      },
    ],
  },
]
